<!--客户业务侧边栏-->
<li>
	<div class="link"><i class="fa fa-paint-brush"></i>客户<i class="fa fa-chevron-down"></i></div>
	<ul class="submenu">
		<li>
			<a href="javascript:showClientDialog();">新客户登记</a>
		</li>
		<li>
			<a href="javascript:showWin(['1200px', '500px'],'base/EstablishmentManageList.html');">我的客户</a>
		</li>
		<li>
			<a href="javascript:showEstMoveDialog('CLIENT');">客户移交</a>
		</li>
		<li>
			<a href="javascript:showWin(['1500px', '500px'],'base/EstablishmentList.html');">全部客户</a>
		</li>
	</ul>
</li>
<li>
	<div class="link"><i class="fa fa-paint-brush"></i>业务<i class="fa fa-chevron-down"></i></div>
	<ul class="submenu">
		<li>
			<a href="javascript:showBusinessBillDialog();">业务接单</a>
		</li>
		<li>
			<a href="javascript:showBusinessFileDialog();">传图下单</a>
		</li>
		<li>
			<a href="javascript:showBusinessDragDialog();">拖图下单</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/BusinessBillSearchResult.html');">业务单一览表</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/BusinessBillListForAccessory.html');">上传设计文件</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/AcceSear.html');">上传文件一览表</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/BusinessBillItemSearchResult.html');">业务明细一览表</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/BusinessBillListForModifySelf.html');">开单人改单</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/BusinessBillListForEditPrice.html');">开单人改价格</a>
		</li>
		<li>
			<a href="javascript:showWin(['1250px', '640px'],'base/PriceGuideItemList.html');">价格手册</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/BusinessBillListForExamine.html');">业务单审核</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/BusinessBillListForUnExamine.html');">业务单反审核</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'');">扫条码查进度</a>
		</li>
	</ul>
</li>
<li>
	<div class="link"><i class="fa fa-paint-brush"></i>送货<i class="fa fa-chevron-down"></i></div>
	<ul class="submenu">
		<li>
			<a href="javascript:showWin(['1300px', '640px'],'business/BusinessBillListForDeliver.html');">送货</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/DeliverBillListForExamine.html');">审核</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/DeliverBillListForUnExamine.html');">反审核</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/DeliverBillSearchResult.html');">送货单一览表</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/DeliverBillItemSearchResult.html');">送货明细一览表</a>
		</li>
	</ul>
</li>
<li>
	<div class="link"><i class="fa fa-paint-brush"></i>安装<i class="fa fa-chevron-down"></i></div>
	<ul class="submenu">
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/BusinessBillListForSetu.html');">安装</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/SetuBillListForExam.html');">审核</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/SetuBillListForUnExam.html');">反审核</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/SetuBillSearchResult.html');">安装单一览表</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/SetuBillListForComp.html');">安装单完工</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/SetuBillListForUnComp.html');">安装单反完工</a>
		</li>
	</ul>
</li>
<li>
	<div class="link"><i class="fa fa-paint-brush"></i>结账<i class="fa fa-chevron-down"></i></div>
	<ul class="submenu">
		<li>
			<a href="javascript:showBusAccountDialog();">业务对账</a>
		</li>
		<li>
			<a href="javascript:showDelAccountDialog();">送货对账</a>
		</li>
		<li>
			<a href="javascript:showWin(['1200px', '640px'],'business/BusinessBillListForClose.html');">业务单结清</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/BusinessBillListForUnClose.html');">业务单反结清</a>
		</li>
	</ul>
</li>
<li>
	<div class="link"><i class="fa fa-paint-brush"></i>作废<i class="fa fa-chevron-down"></i></div>
	<ul class="submenu">
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/BusinessBillListForCancel.html');">业务单作废</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/DeliverBillListForCancel.html');">送货单作废</a>
		</li>
		<li>
			<a href="javascript:showWin(['1000px', '640px'],'business/SetuBillListForCanc.html');">安装单作废</a>
		</li>
	</ul>
</li>
<script>
	//侧边导航栏
	$(function() {
		var Accordion = function(el, multiple) {
			this.el = el || {};
			this.multiple = multiple || false;

			// Variables privadas
			var links = this.el.find('.link');
			// Evento
			links.on('click', {
				el: this.el,
				multiple: this.multiple
			}, this.dropdown)
		}

		Accordion.prototype.dropdown = function(e) {
			var $el = e.data.el;
			$this = $(this),
				$next = $this.next();
			$next.slideToggle();
			$this.parent().toggleClass('open');

			if(!e.data.multiple) {
				$el.find('.submenu').not($next).slideUp().parent().removeClass('open');
			};
		}

		var accordion = new Accordion($('.accordion'), false);
	});
</script>